hexo.extend.tag.register('ads', function (args) {
 // 这里可以根据参数返回不同的广告代码
 const adCode = `
     <div>
         <!-- 广告代码 -->
         广告代码
         <!-- 
         <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
         <ins class="adsbygoogle"
              style="display:block"
              data-ad-client="ca-pub-xxxxxx"
              data-ad-slot="xxxxxx"
              data-ad-format="auto"
              data-full-width-responsive="true"></ins>
         <script>
              (adsbygoogle = window.adsbygoogle || []).push({});
         </script>
          -->
     </div>
 `
 return adCode
})
